#include "common.h"
#include "radio.h"
#include "packet.h"

void send_data(uint8_t *data){
	// switch to transmit mode
	radio_set_transmit();

	// transmit packet
	radio_send(send_address, data);
	//_delay_ms(50);

	// switch to receive mode
	radio_set_receive();
	radio_set_receive();
}

